<div class="empty_hight"></div>
<form action="index.php?c=zy_sell&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">	
<table width="90%" name="tab_form" id="tab_form" class="tab_form2" align="center" border="0" cellpadding="0" cellspacing="1">
<thead>
	<th colspan="6" class="acenter">投资计划执行</th>
</thead>
<tbody>
<tr>
	<td width="20%" class="tab_bold">合同编号</td>
	<td><input type=text name="contract_no" size=30 value='{%$contract_no%}' dataType="Require"></td>
	<td width="20%" class="tab_bold">合同总价</td>
	<td><input type=text name="contract_prices" size=20 value='{%$contract_prices%}' dataType="Currency" ></td>
</tr>
<tr>
	<td class="tab_bold">机器型号</td>
	<td colspan=3>
	{%foreach item=v_mc key=key from=$v_mc_arr%}
		<input type="checkbox" name="reply_mc_id_arr[]" value ="{%$v_mc.plan_reply_mc_id%}" {% if $act == 'edit' && $v_mc.is_reply %}checked{%/if%}>{%$v_mc.mc_cn_name%}
		{% if $v_mc.is_p_mc != 1%}
			&nbsp;&nbsp;<input type="text" name="reply_do_num_{%$v_mc.plan_reply_mc_id%}" size="5 "value="">&nbsp;个
			<font color="Red">批复{%$v_mc.plan_reply_mc_number%}个</font>
		{%/if%}
		<br>
	{%/foreach%}
	</td>
</tr>
<!--<tr>
	<td width="20%" class="tab_bold">price_type</td>
	<td><input type=text name="price_type" size=30 value='{%$price_type%}'></td>
</tr>-->
<tr>
	<td width="20%" class="tab_bold">供应商</td>
	<td><input type=text name="sell_owner" size=30 value='{%$sell_owner%}'></td>
	<td width="20%" class="tab_bold">谈判日期</td>
	<td>
	<input type=text name="talks_time" size=20 value='{%$talks_time%}' id="talks_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "talks_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">签订合同日期</td>
	<td>
	<input type=text name="contract_time" size=20 value='{%$contract_time%}' id="contract_time" readonly>
		<script>
			Calendar.setup({
				inputField     :    "contract_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
	<td width="20%" class="tab_bold">签订到货日期</td>
	<td>
	<input type=text name="finish_time" size=20 value='{%$finish_time%}' id="finish_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "finish_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">币种</td>
	<td>
		<select name="currency_id">
		{%html_options options=$price_type_arr selected=$currency_id%}
		</select>
	</td>
	<td width="20%" class="tab_bold">谈判人</td>
	<td>
		<select name="admin_user_id">
		{%html_options options=$admin_info selected=$admin_user_id%}
		</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">合同备注</td>
	<td colspan=3>
	<textarea cols="70" rows="4" id="contract_info" name="contract_info" >{%$contract_info%}</textarea>
	</td>
</tr>
<tr>
	<td colspan=4 align=center>
		<input type="hidden" name="investment_no" size=30 value='{%$investment_no%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>